import React from 'react'
import { NavLink, Outlet } from 'react-router-dom'
import './index.css'
export default function () {
    return (

        <div>
            <div>
                <p>
                    <NavLink className={({ isActive }) => isActive ? 'active' : ''} to='/system/addstu'>添加学生</NavLink>
                </p>
                <p>
                    <NavLink className={({ isActive }) => isActive ? 'active' : ''} to='/system/upsatestu'>更新学生</NavLink>
                </p>
            </div>
            <hr />
            <div>
                <Outlet />
            </div>
        </div>

    )
}
